package com.kangjia.api;

public class HiiposmUtil {
	public boolean MD5Verify(String srcData, String hmac, String key) {
		String _crpy = this.MD5Sign(srcData, key);

		return _crpy.equals(hmac);
	}


	public String MD5Sign(String signData, String signkey) {
		CryptUtilImpl impl = new CryptUtilImpl();
		String value = impl.cryptMd5(signData, "");
		String value2 = impl.cryptMd5(value, signkey);
		return value2;
	}

}
